home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / earcd / misc / emu / d32.lha / d32 / ReadMe_First < prev    next >
Text File  |  1996-12-27  |  2KB  |  47 lines

  1.  
  2.                           The 6809 Emulator
  3.                     A design and development tool
  4.                        (C) Steven Goodwin 1994-6
  5.  
  6.  
  7. IMPORTANT: This version will only work on the 68000. Any higher processor
  8. will not work because of the 'move cr' instruction inside my code. I hope
  9. to have some time available soon to upgrade this 'feature'. Until then,
  10. get rid of those 68020s!
  11.  
  12.  
  13. QUICK START GUIDE: Apparently, some people have been a little mistified
  14. by this package. So, to help those people I've written this - a step-by-
  15. step guide to emulating your first 6809e program! OK?
  16.  
  17. 1. Load up the emulator.
  18. 2. From the control panel, choose 'Load', and select the file
  19.    'ASA_Examples/ex1.6809'
  20. 3. Open the 'Registers' window from the control panel.
  21. 4. Change the program counter (the PC text edit control) to 20000 (this
  22.    is where the machine code resides).
  23. 5. Move the screen down. This allows you to see the text screen (memory
  24.    mapped to locations 1024 to 1535). It should be green at the moment.
  25. 6. On the 'Registers' window, hit the 'Exec' button. This will execute
  26.    the code, from location 20000 in memory, until the final RTS instruction.
  27.    You should receive a message from the system telling you the Amiga was
  28.    under control of the Emulator for 0 seconds, and the text screen behind
  29.    the current one should be black.
  30.    
  31.  For a variation, reset the PC to 20000, and hit 'Step'. This will execute
  32.  the next instruction only. In this case, the instruction is 'lda #$20'.
  33.  This is the character that will fill the screen. Now change this number
  34.  by editting the number in the text requester labelled 'A' to, say, 2.
  35.  Now hit 'Exec', and the program will complete, using this new value of 2.
  36.  The screen will fill with the inverse letter 'B'.
  37.  
  38.  This program is very simple, and by opening an 'ASM' window from the
  39.  control panel, or the 'Registers' window.
  40.  
  41.  
  42.  The other examples are:
  43.  
  44.  ex2.6809 - PC=20000 - Writes the Dragons' character set.
  45.  ex3.6809 - PC=20000 - Writes two lines of text in the middle of the screen.
  46.  
  47.